#ifndef _LIB_SERIAL_PRIVATE_H
#define _LIB_SERIAL_PRIVATE_H

#include <termios.h>
#include <stdint.h>


typedef struct
{
    struct termios old_tios;
    
    uint8_t rs485_io_num;
    int onebyte_time;
    int lastbyte_delay;
    // 读超时
    // int recv_timeout;
}serial_private_t;

#endif

